** Scripts by TimeFX (TimeFX@HyO2.net) - #TimeFX on irc.quakenet.org **


<TFX_Spawn_When_Killed>
  string   PresetName
  float    DropHeight
  int      SameFacing
  float    HealthPercent
  float    ArmorPercent

Creates an object at the position where another object got killed.
This is useful if you want to drop a destroyed vehicle where another one
has been killed.
PresetName    - the preset which will be dropped
DropHeight    - the height above the destroyed object where the new one will be created
SameFacing    - if "1" the dropped object will have the same facing as the killed one
HealthPercent - the dropped object will have the given percentage of it's maximum health
ArmorPercent  - the dropped object will have the given percentage of it's maximum armor





<TFX_Replace_When_Repaired>
  string   PresetName
  float    DropHeight
  int      SameFacing
  float    HealthPercent
  float    ArmorPercent

Creates an object at the position where another object has been repaired to 100% health & armor
and destroys the repaired object.
This is useful if you want to drop a player vehicle where a destroyed one has been repaired.
PresetName    - the preset which will be dropped
DropHeight    - the height above the repaired object where the new one will be created
SameFacing    - if "1" the dropped object will have the same facing as the repaired one
HealthPercent - the dropped object will have the given percentage of it's maximum health
ArmorPercent  - the dropped object will have the given percentage of it's maximum armor
